<ion-view title="新增嘱托" hide-nav-bar="true">
    <ion-nav-buttons side="left">
        <a href="javascript:history.back(-1)" class="button button-icon icon ion-ios-arrow-back" nav-direction="back"></a>
    </ion-nav-buttons>
    <ion-content>
        <div class="padding">嘱托内容：</div>
        <div class="row">
            <div class="col">
                <label class="item item-input text">
                    <textarea placeholder="请输入嘱托内容" rows="4" ng-model="vm.entrust.entrustContent" ng-trim="false"
                              maxlength="1500" ng-Required="true" name="description" style="resize:none;"></textarea>
                </label>
            </div>
        </div>
        <span class="padding pull-right">还能输入{{150 - vm.entrust.entrustContent.length}}个字</span>
    </ion-content>
    <ion-footer-bar align-title="left" class="bar-assertive">
        <div class="bar bar-footer" style="background: #55ABD4;">
            <a href="javascript:;" ng-click="saveEntrust()">提交嘱托</a>
        </div>
    </ion-footer-bar>
</ion-view>